Project: Smart-Flashcards-API-Testing-Framework

Failed: 5/7 Passed: 2/7 Skipped: 0/7
7Total specs
  • 5Failed
  • 2Passed
  • default
  • 28%
  • 00:00:39
  • Aug 24, 2017 at 6:13pm

New Create A Bucket Specification

00:00:07

Date Created : 07/27/2017

Version : 1.0.0

Owner : Osanda Deshan

Description : This is an executable specification file which follows markdown syntax. Every heading in this file denotes a scenario. Every bulleted point denotes a step.

Create a Bucket in the bucket page using valid token

00:00:01
Execution Time : 00:00:00
  • Given that a user needs to invoke "Create Bucket"

    API Endpoint is:
    /api/Bucket

Execution Time : 00:00:01
  • When the user invokes the API using the following request <file:/resources/api_requests/create_bucket/create_bucket_using_valid_parameters.txt> and access token <file:/resources/access_tokens/valid_token.txt>

    Response is:
    {
    “timestamp”: “2017-08-24T12:44:24.580+0000”,
    “status”: 500,
    “error”: “Internal Server Error”,
    “exception”: “java.lang.IllegalArgumentException”,
    “message”: “Key bytes cannot be specified for RSA signatures. Please specify a PublicKey or PrivateKey instance.”,
    “path”: “/api/Bucket”
    }

Execution Time : 00:00:00
  • Then the status code for the request is "201"

    java.lang.AssertionError: The expected status code for the request is not match with the actual status code
    expected [201] but found [500]

    org.testng.Assert.fail(Assert.java:94)
    org.testng.Assert.failNotEquals(Assert.java:494)
    org.testng.Assert.assertEquals(Assert.java:123)
    org.testng.Assert.assertEquals(Assert.java:176)
    BaseClass.verifyResponseStatusCode(BaseClass.java:384)
    CommonStepDefinitions.verifyResponseStatusCode(CommonStepDefinitions.java:135)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:498)
    com.thoughtworks.gauge.execution.MethodExecutor.execute(MethodExecutor.java:38)
    com.thoughtworks.gauge.execution.StepExecutionStage.executeStepMethod(StepExecutionStage.java:74)
    com.thoughtworks.gauge.execution.StepExecutionStage.executeStep(StepExecutionStage.java:67)
    com.thoughtworks.gauge.execution.StepExecutionStage.execute(StepExecutionStage.java:49)
    com.thoughtworks.gauge.execution.AbstractExecutionStage.executeNext(AbstractExecutionStage.java:24)
    com.thoughtworks.gauge.execution.HookExecutionStage.execute(HookExecutionStage.java:43)
    com.thoughtworks.gauge.execution.ExecutionPipeline.start(ExecutionPipeline.java:29)
    com.thoughtworks.gauge.processor.ExecuteStepProcessor.process(ExecuteStepProcessor.java:39)
    com.thoughtworks.gauge.connection.MessageDispatcher.dispatchMessages(MessageDispatcher.java:89)
    com.thoughtworks.gauge.GaugeRuntime.dispatchMessages(GaugeRuntime.java:104)
    com.thoughtworks.gauge.GaugeRuntime.access$100(GaugeRuntime.java:36)
    com.thoughtworks.gauge.GaugeRuntime$2.run(GaugeRuntime.java:85)
    java.lang.Thread.run(Thread.java:745)
Execution Time : 00:00:00
  • And the JSON Path Assertions for the response should be equal to the following
    JSON PathExpected Result
    $.titleTest
    $.descriptionTest description
    $.goalDate2017-08-26T00:00:00

Create a Bucket in the bucket page using invalid token

00:00:01
Execution Time : 00:00:00
  • Given that a user needs to invoke "Create Bucket"

    API Endpoint is:
    /api/Bucket

Execution Time : 00:00:00
  • When the user invokes the API using the following request <file:/resources/api_requests/create_bucket/create_bucket_using_valid_parameters.txt> and access token <file:/resources/access_tokens/invalid_token.txt>

    Response is:
    {
    “timestamp”: “2017-08-24T12:44:25.959+0000”,
    “status”: 500,
    “error”: “Internal Server Error”,
    “exception”: “java.lang.IllegalArgumentException”,
    “message”: “Key bytes cannot be specified for RSA signatures. Please specify a PublicKey or PrivateKey instance.”,
    “path”: “/api/Bucket”
    }

Execution Time : 00:00:00
  • Then the status code for the request is "401"

    java.lang.AssertionError: The expected status code for the request is not match with the actual status code
    expected [401] but found [500]

    org.testng.Assert.fail(Assert.java:94)
    org.testng.Assert.failNotEquals(Assert.java:494)
    org.testng.Assert.assertEquals(Assert.java:123)
    org.testng.Assert.assertEquals(Assert.java:176)
    BaseClass.verifyResponseStatusCode(BaseClass.java:384)
    CommonStepDefinitions.verifyResponseStatusCode(CommonStepDefinitions.java:135)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:498)
    com.thoughtworks.gauge.execution.MethodExecutor.execute(MethodExecutor.java:38)
    com.thoughtworks.gauge.execution.StepExecutionStage.executeStepMethod(StepExecutionStage.java:74)
    com.thoughtworks.gauge.execution.StepExecutionStage.executeStep(StepExecutionStage.java:67)
    com.thoughtworks.gauge.execution.StepExecutionStage.execute(StepExecutionStage.java:49)
    com.thoughtworks.gauge.execution.AbstractExecutionStage.executeNext(AbstractExecutionStage.java:24)
    com.thoughtworks.gauge.execution.HookExecutionStage.execute(HookExecutionStage.java:43)
    com.thoughtworks.gauge.execution.ExecutionPipeline.start(ExecutionPipeline.java:29)
    com.thoughtworks.gauge.processor.ExecuteStepProcessor.process(ExecuteStepProcessor.java:39)
    com.thoughtworks.gauge.connection.MessageDispatcher.dispatchMessages(MessageDispatcher.java:89)
    com.thoughtworks.gauge.GaugeRuntime.dispatchMessages(GaugeRuntime.java:104)
    com.thoughtworks.gauge.GaugeRuntime.access$100(GaugeRuntime.java:36)
    com.thoughtworks.gauge.GaugeRuntime$2.run(GaugeRuntime.java:85)
    java.lang.Thread.run(Thread.java:745)

Create a Bucket in the bucket page using no token

00:00:00
Execution Time : 00:00:00
  • Given that a user needs to invoke "Create Bucket"

    API Endpoint is:
    /api/Bucket

Execution Time : 00:00:00
  • When the user invokes the API using the following request <file:/resources/api_requests/create_bucket/create_bucket_using_valid_parameters.txt> and access token <file:/resources/access_tokens/null_token.txt>

    Response is:
    {
    “timestamp”: “2017-08-24T12:44:26.969+0000”,
    “status”: 404,
    “error”: “Not Found”,
    “message”: “Not Found”,
    “path”: “/api/Bucket”
    }

Execution Time : 00:00:00
  • Then the status code for the request is "401"

    java.lang.AssertionError: The expected status code for the request is not match with the actual status code
    expected [401] but found [404]

    org.testng.Assert.fail(Assert.java:94)
    org.testng.Assert.failNotEquals(Assert.java:494)
    org.testng.Assert.assertEquals(Assert.java:123)
    org.testng.Assert.assertEquals(Assert.java:176)
    BaseClass.verifyResponseStatusCode(BaseClass.java:384)
    CommonStepDefinitions.verifyResponseStatusCode(CommonStepDefinitions.java:135)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:498)
    com.thoughtworks.gauge.execution.MethodExecutor.execute(MethodExecutor.java:38)
    com.thoughtworks.gauge.execution.StepExecutionStage.executeStepMethod(StepExecutionStage.java:74)
    com.thoughtworks.gauge.execution.StepExecutionStage.executeStep(StepExecutionStage.java:67)
    com.thoughtworks.gauge.execution.StepExecutionStage.execute(StepExecutionStage.java:49)
    com.thoughtworks.gauge.execution.AbstractExecutionStage.executeNext(AbstractExecutionStage.java:24)
    com.thoughtworks.gauge.execution.HookExecutionStage.execute(HookExecutionStage.java:43)
    com.thoughtworks.gauge.execution.ExecutionPipeline.start(ExecutionPipeline.java:29)
    com.thoughtworks.gauge.processor.ExecuteStepProcessor.process(ExecuteStepProcessor.java:39)
    com.thoughtworks.gauge.connection.MessageDispatcher.dispatchMessages(MessageDispatcher.java:89)
    com.thoughtworks.gauge.GaugeRuntime.dispatchMessages(GaugeRuntime.java:104)
    com.thoughtworks.gauge.GaugeRuntime.access$100(GaugeRuntime.java:36)
    com.thoughtworks.gauge.GaugeRuntime$2.run(GaugeRuntime.java:85)
    java.lang.Thread.run(Thread.java:745)

Create a Bucket in the bucket page using empty value as the goal title

00:00:00
Execution Time : 00:00:00
  • Given that a user needs to invoke "Create Bucket"

    API Endpoint is:
    /api/Bucket

Execution Time : 00:00:00
  • When the user invokes the API using the following request <file:/resources/api_requests/create_bucket/create_bucket_using_empty_goal_title.txt> and access token <file:/resources/access_tokens/valid_token.txt>

    Response is:
    {
    “timestamp”: “2017-08-24T12:44:28.049+0000”,
    “status”: 500,
    “error”: “Internal Server Error”,
    “exception”: “java.lang.IllegalArgumentException”,
    “message”: “Key bytes cannot be specified for RSA signatures. Please specify a PublicKey or PrivateKey instance.”,
    “path”: “/api/Bucket”
    }

Execution Time : 00:00:00
  • Then the status code for the request is "400"

    java.lang.AssertionError: The expected status code for the request is not match with the actual status code
    expected [400] but found [500]

    org.testng.Assert.fail(Assert.java:94)
    org.testng.Assert.failNotEquals(Assert.java:494)
    org.testng.Assert.assertEquals(Assert.java:123)
    org.testng.Assert.assertEquals(Assert.java:176)
    BaseClass.verifyResponseStatusCode(BaseClass.java:384)
    CommonStepDefinitions.verifyResponseStatusCode(CommonStepDefinitions.java:135)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:498)
    com.thoughtworks.gauge.execution.MethodExecutor.execute(MethodExecutor.java:38)
    com.thoughtworks.gauge.execution.StepExecutionStage.executeStepMethod(StepExecutionStage.java:74)
    com.thoughtworks.gauge.execution.StepExecutionStage.executeStep(StepExecutionStage.java:67)
    com.thoughtworks.gauge.execution.StepExecutionStage.execute(StepExecutionStage.java:49)
    com.thoughtworks.gauge.execution.AbstractExecutionStage.executeNext(AbstractExecutionStage.java:24)
    com.thoughtworks.gauge.execution.HookExecutionStage.execute(HookExecutionStage.java:43)
    com.thoughtworks.gauge.execution.ExecutionPipeline.start(ExecutionPipeline.java:29)
    com.thoughtworks.gauge.processor.ExecuteStepProcessor.process(ExecuteStepProcessor.java:39)
    com.thoughtworks.gauge.connection.MessageDispatcher.dispatchMessages(MessageDispatcher.java:89)
    com.thoughtworks.gauge.GaugeRuntime.dispatchMessages(GaugeRuntime.java:104)
    com.thoughtworks.gauge.GaugeRuntime.access$100(GaugeRuntime.java:36)
    com.thoughtworks.gauge.GaugeRuntime$2.run(GaugeRuntime.java:85)
    java.lang.Thread.run(Thread.java:745)
Execution Time : 00:00:00
  • And the JSON Path Assertions for the response should be equal to the following
    JSON PathExpected Result
    $.Title[0]Title Can't be empty
    $.Title[1]Title should be more than 2 characters

Create a Bucket in the bucket page using null value as the goal title

00:00:00
Execution Time : 00:00:00
  • Given that a user needs to invoke "Create Bucket"

    API Endpoint is:
    /api/Bucket

Execution Time : 00:00:00
  • When the user invokes the API using the following request <file:/resources/api_requests/create_bucket/create_bucket_using_null_goal_title.txt> and access token <file:/resources/access_tokens/valid_token.txt>

    Response is:
    {
    “timestamp”: “2017-08-24T12:44:29.152+0000”,
    “status”: 500,
    “error”: “Internal Server Error”,
    “exception”: “java.lang.IllegalArgumentException”,
    “message”: “Key bytes cannot be specified for RSA signatures. Please specify a PublicKey or PrivateKey instance.”,
    “path”: “/api/Bucket”
    }

Execution Time : 00:00:00
  • Then the status code for the request is "400"

    java.lang.AssertionError: The expected status code for the request is not match with the actual status code
    expected [400] but found [500]

    org.testng.Assert.fail(Assert.java:94)
    org.testng.Assert.failNotEquals(Assert.java:494)
    org.testng.Assert.assertEquals(Assert.java:123)
    org.testng.Assert.assertEquals(Assert.java:176)
    BaseClass.verifyResponseStatusCode(BaseClass.java:384)
    CommonStepDefinitions.verifyResponseStatusCode(CommonStepDefinitions.java:135)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:498)
    com.thoughtworks.gauge.execution.MethodExecutor.execute(MethodExecutor.java:38)
    com.thoughtworks.gauge.execution.StepExecutionStage.executeStepMethod(StepExecutionStage.java:74)
    com.thoughtworks.gauge.execution.StepExecutionStage.executeStep(StepExecutionStage.java:67)
    com.thoughtworks.gauge.execution.StepExecutionStage.execute(StepExecutionStage.java:49)
    com.thoughtworks.gauge.execution.AbstractExecutionStage.executeNext(AbstractExecutionStage.java:24)
    com.thoughtworks.gauge.execution.HookExecutionStage.execute(HookExecutionStage.java:43)
    com.thoughtworks.gauge.execution.ExecutionPipeline.start(ExecutionPipeline.java:29)
    com.thoughtworks.gauge.processor.ExecuteStepProcessor.process(ExecuteStepProcessor.java:39)
    com.thoughtworks.gauge.connection.MessageDispatcher.dispatchMessages(MessageDispatcher.java:89)
    com.thoughtworks.gauge.GaugeRuntime.dispatchMessages(GaugeRuntime.java:104)
    com.thoughtworks.gauge.GaugeRuntime.access$100(GaugeRuntime.java:36)
    com.thoughtworks.gauge.GaugeRuntime$2.run(GaugeRuntime.java:85)
    java.lang.Thread.run(Thread.java:745)
Execution Time : 00:00:00
  • And the JSON Path Assertions for the response should be equal to the following
    JSON PathExpected Result
    $.Title[0]Title Can't be null
    $.Title[1]Title Can't be empty

Create a Bucket in the bucket page using 1 character as the goal title

00:00:00
Execution Time : 00:00:00
  • Given that a user needs to invoke "Create Bucket"

    API Endpoint is:
    /api/Bucket

Execution Time : 00:00:00
  • When the user invokes the API using the following request <file:/resources/api_requests/create_bucket/create_bucket_using_1_character_goal_title.txt> and access token <file:/resources/access_tokens/valid_token.txt>

    Response is:
    {
    “timestamp”: “2017-08-24T12:44:30.215+0000”,
    “status”: 500,
    “error”: “Internal Server Error”,
    “exception”: “java.lang.IllegalArgumentException”,
    “message”: “Key bytes cannot be specified for RSA signatures. Please specify a PublicKey or PrivateKey instance.”,
    “path”: “/api/Bucket”
    }

Execution Time : 00:00:00
  • Then the status code for the request is "400"

    java.lang.AssertionError: The expected status code for the request is not match with the actual status code
    expected [400] but found [500]

    org.testng.Assert.fail(Assert.java:94)
    org.testng.Assert.failNotEquals(Assert.java:494)
    org.testng.Assert.assertEquals(Assert.java:123)
    org.testng.Assert.assertEquals(Assert.java:176)
    BaseClass.verifyResponseStatusCode(BaseClass.java:384)
    CommonStepDefinitions.verifyResponseStatusCode(CommonStepDefinitions.java:135)
    sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:498)
    com.thoughtworks.gauge.execution.MethodExecutor.execute(MethodExecutor.java:38)
    com.thoughtworks.gauge.execution.StepExecutionStage.executeStepMethod(StepExecutionStage.java:74)
    com.thoughtworks.gauge.execution.StepExecutionStage.executeStep(StepExecutionStage.java:67)
    com.thoughtworks.gauge.execution.StepExecutionStage.execute(StepExecutionStage.java:49)
    com.thoughtworks.gauge.execution.AbstractExecutionStage.executeNext(AbstractExecutionStage.java:24)
    com.thoughtworks.gauge.execution.HookExecutionStage.execute(HookExecutionStage.java:43)
    com.thoughtworks.gauge.execution.ExecutionPipeline.start(ExecutionPipeline.java:29)
    com.thoughtworks.gauge.processor.ExecuteStepProcessor.process(ExecuteStepProcessor.java:39)
    com.thoughtworks.gauge.connection.MessageDispatcher.dispatchMessages(MessageDispatcher.java:89)
    com.thoughtworks.gauge.GaugeRuntime.dispatchMessages(GaugeRuntime.java:104)
    com.thoughtworks.gauge.GaugeRuntime.access$100(GaugeRuntime.java:36)
    com.thoughtworks.gauge.GaugeRuntime$2.run(GaugeRuntime.java:85)
    java.lang.Thread.run(Thread.java:745)
Execution Time : 00:00:00
  • And the JSON Path Assertions for the response should be equal to the following
    JSON PathExpected Result
    $.Title[0]Title should be more than 2 characters

Create a Bucket in the bucket page using 2 characters as the goal title

00:00:00
Execution Time : 00:00:00
  • Given that a user needs to invoke "Create Bucket"

    API Endpoint is:
    /api/Bucket

Execution Time : 00:00:00
  • When the user invokes the API using the following request <file:/resources/api_requests/create_bucket/create_bucket_using_2_characters_goal_title.txt> and access token <file:/resources/access_tokens/valid_token.txt>

    Response is:
    {
    “timestamp”: “2017-08-24T12:44:31.339+0000”,
    “status”: 500,
    “error”: “Internal Server Error”,
    “exception”: “java.lang.IllegalArgumentException”,
    “message”: “Key bytes cannot be specified for RSA signatures. Please specify a PublicKey or PrivateKey instance.”,
    “path”: “/api/Bucket”
    }

Execution Time : 00:00:00
  • Then the status code for the request is "201"

    java.lang.AssertionError: The expected status code for the request is not match with the actual status code
    expected [201] but found [500]

    org.testng.Assert.fail(Assert.java:94)
    org.testng.Assert.failNotEquals(Assert.java:494)
    org.testng.Assert.assertEquals(Assert.java:123)
    org.testng.Assert.assertEquals(Assert.java:176)
    BaseClass.verifyResponseStatusCode(BaseClass.java:384)
    CommonStepDefinitions.verifyResponseStatusCode(CommonStepDefinitions.java:135)
    sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:498)
    com.thoughtworks.gauge.execution.MethodExecutor.execute(MethodExecutor.java:38)
    com.thoughtworks.gauge.execution.StepExecutionStage.executeStepMethod(StepExecutionStage.java:74)
    com.thoughtworks.gauge.execution.StepExecutionStage.executeStep(StepExecutionStage.java:67)
    com.thoughtworks.gauge.execution.StepExecutionStage.execute(StepExecutionStage.java:49)
    com.thoughtworks.gauge.execution.AbstractExecutionStage.executeNext(AbstractExecutionStage.java:24)
    com.thoughtworks.gauge.execution.HookExecutionStage.execute(HookExecutionStage.java:43)
    com.thoughtworks.gauge.execution.ExecutionPipeline.start(ExecutionPipeline.java:29)
    com.thoughtworks.gauge.processor.ExecuteStepProcessor.process(ExecuteStepProcessor.java:39)
    com.thoughtworks.gauge.connection.MessageDispatcher.dispatchMessages(MessageDispatcher.java:89)
    com.thoughtworks.gauge.GaugeRuntime.dispatchMessages(GaugeRuntime.java:104)
    com.thoughtworks.gauge.GaugeRuntime.access$100(GaugeRuntime.java:36)
    com.thoughtworks.gauge.GaugeRuntime$2.run(GaugeRuntime.java:85)
    java.lang.Thread.run(Thread.java:745)
Execution Time : 00:00:00
  • And the JSON Path Assertions for the response should be equal to the following
    JSON PathExpected Result
    $.titleTe
    $.descriptionTest
    $.goalDate2017-08-26T00:00:00

Create a Bucket in the bucket page using past date

00:00:01
Execution Time : 00:00:00
  • Given that a user needs to invoke "Create Bucket"

    API Endpoint is:
    /api/Bucket

Execution Time : 00:00:01
  • When the user invokes the API using the following request <file:/resources/api_requests/create_bucket/create_bucket_using_past_date.txt> and access token <file:/resources/access_tokens/valid_token.txt>

    Response is:
    {
    “timestamp”: “2017-08-24T12:44:32.487+0000”,
    “status”: 500,
    “error”: “Internal Server Error”,
    “exception”: “java.lang.IllegalArgumentException”,
    “message”: “Key bytes cannot be specified for RSA signatures. Please specify a PublicKey or PrivateKey instance.”,
    “path”: “/api/Bucket”
    }

Execution Time : 00:00:00
  • Then the status code for the request is "400"

    java.lang.AssertionError: The expected status code for the request is not match with the actual status code
    expected [400] but found [500]

    org.testng.Assert.fail(Assert.java:94)
    org.testng.Assert.failNotEquals(Assert.java:494)
    org.testng.Assert.assertEquals(Assert.java:123)
    org.testng.Assert.assertEquals(Assert.java:176)
    BaseClass.verifyResponseStatusCode(BaseClass.java:384)
    CommonStepDefinitions.verifyResponseStatusCode(CommonStepDefinitions.java:135)
    sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:498)
    com.thoughtworks.gauge.execution.MethodExecutor.execute(MethodExecutor.java:38)
    com.thoughtworks.gauge.execution.StepExecutionStage.executeStepMethod(StepExecutionStage.java:74)
    com.thoughtworks.gauge.execution.StepExecutionStage.executeStep(StepExecutionStage.java:67)
    com.thoughtworks.gauge.execution.StepExecutionStage.execute(StepExecutionStage.java:49)
    com.thoughtworks.gauge.execution.AbstractExecutionStage.executeNext(AbstractExecutionStage.java:24)
    com.thoughtworks.gauge.execution.HookExecutionStage.execute(HookExecutionStage.java:43)
    com.thoughtworks.gauge.execution.ExecutionPipeline.start(ExecutionPipeline.java:29)
    com.thoughtworks.gauge.processor.ExecuteStepProcessor.process(ExecuteStepProcessor.java:39)
    com.thoughtworks.gauge.connection.MessageDispatcher.dispatchMessages(MessageDispatcher.java:89)
    com.thoughtworks.gauge.GaugeRuntime.dispatchMessages(GaugeRuntime.java:104)
    com.thoughtworks.gauge.GaugeRuntime.access$100(GaugeRuntime.java:36)
    com.thoughtworks.gauge.GaugeRuntime$2.run(GaugeRuntime.java:85)
    java.lang.Thread.run(Thread.java:745)
Execution Time : 00:00:00
  • And the JSON Path Assertions for the response should be equal to the following
    JSON PathExpected Result
    $.GoalDate[0]Goal date should be a future date